/**
 * 将后端回传的字典值映射到uni-data-select
 * @param serverDics 服务端获取的字典
 * @param localDics 本地要保存的字典
 */
export function dicTrans(serverDics, localDics) {
	for (const serverDic of serverDics) {
		const localDic = {}
		localDic.text = serverDic.dictLabel
		localDic.value = serverDic.dictValue
		localDics.push(localDic)
	}
}